package com.bw.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class StuRoomAdd {

    @NotNull(message = "楼号不为空")
    private Integer apartmentId;
    @NotNull(message = "宿舍不为空")
    private Integer roomId;
    @NotNull(message = "学生不为空")
    private Integer studentId;
}
